/* About Section Styling */
#about {
    position: relative;
    overflow: hidden;
}

/* About Image Styling with Beautiful Shadow */
.about-image {
    position: relative;
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
}

.about-image img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    border: 8px solid white;
    box-shadow: 
        0 0 0 1px rgba(255,255,255,0.1),
        0 10px 30px rgba(102, 126, 234, 0.2),
        0 20px 60px rgba(102, 126, 234, 0.1),
        0 30px 90px rgba(102, 126, 234, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: brightness(1.05) contrast(1.05);
}

.about-image img:hover {
    transform: scale(1.05);
    box-shadow: 
        0 0 0 1px rgba(255,255,255,0.1),
        0 15px 40px rgba(102, 126, 234, 0.3),
        0 25px 70px rgba(102, 126, 234, 0.2),
        0 40px 120px rgba(102, 126, 234, 0.1);
    filter: brightness(1.1) contrast(1.1);
}

/* Beautiful Decorative Background */
.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 340px;
    height: 340px;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.1) 0%,
        rgba(118, 75, 162, 0.05) 50%,
        rgba(255, 255, 255, 0) 100%);
    border-radius: 50%;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 320px;
    background: radial-gradient(
        circle at center,
        rgba(102, 126, 234, 0.15) 0%,
        rgba(102, 126, 234, 0.05) 40%,
        transparent 70%
    );
    border-radius: 50%;
    z-index: 0;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translateX(-50%) scale(1.05);
    }
}

/* Floating Dots Decoration */
.about-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.decoration-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    opacity: 0.4;
}

.dot-1 { top: 20%; left: 20%; animation: floatDot 8s ease-in-out infinite; }
.dot-2 { top: 40%; right: 15%; animation: floatDot 10s ease-in-out infinite 0.5s; }
.dot-3 { bottom: 30%; left: 25%; animation: floatDot 12s ease-in-out infinite 1s; }

@keyframes floatDot {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(10px) rotate(240deg);
    }
}